package top.springcloud.FeignConsumer.fallback;

import org.springframework.stereotype.Component;
import top.springcloud.FeignConsumer.service.CustomerService;
import top.springcloud.customer.entity.Customer;

/**
 * @ClassName CustomerServiceImpl
 * @Description TODO
 * @Author 维康
 * @Date 2018/8/30 15:58
 * @Version 1.0
 **/
@Component
public class CustomerServiceImpl implements CustomerService{
    @Override
    public String getCustomerById(Integer customerId) {
        return "这个服务已经挂了";
    }

    @Override
    public Customer saveCustomer(Customer customer) {
        return null;
    }
}
